package com.njcc.util;

import android.app.AlertDialog;
import android.content.Context;

public class AlertDialogUtil {


    public static AlertDialog alert(Context context, String title, String msg, boolean cancelable) {
        return new AlertDialog.Builder(context)
                .setTitle(title)
                .setMessage(msg)
                .setPositiveButton(null, null)
                .setCancelable(cancelable)
                .show();
    }

}
